package com.ray.friendslist.content.contract;

import android.net.Uri;
import android.provider.BaseColumns;

public class FriendsContract {

	public static final String AUTHORITY = "com.ray.friendslist.content.provider.";

	public FriendsContract() {

	}

	public static final class FriendsColumns implements BaseColumns {

		public final static String[] COLOUMNS = {
				FriendsContract.FriendsColumns.VK_FRIEND_ID,
				FriendsContract.FriendsColumns.VK_FRIEND_NAME,
				FriendsContract.FriendsColumns.VK_FRIEND_PHOTO_URL,
				FriendsContract.FriendsColumns.VK_FRIEND_PHOTO_BIG_URL,
				FriendsContract.FriendsColumns.VK_FRIEND_BIRTH_DATE };

		public static final String TABLE_NAME = "VK_FRIENDS_LIST_TABLE";

		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/VK_FRIENDS_LIST_TABLE";

		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "FriendsProvider/VK_FRIENDS_LIST_TABLE");

		private FriendsColumns() {
		}

		public static final String VK_FRIEND_NAME = "VK_FRIEND_NAME";

		public static final String VK_FRIEND_ID = _ID;

		public static final String VK_FRIEND_PHOTO_URL = "VK_PHOTO";

		public static final String VK_FRIEND_PHOTO_BIG_URL = "VK_PHOTO_BIG";

		public static final String VK_FRIEND_BIRTH_DATE = "VK_FRIEND_BIRTH_DATE";

	}

	public static final class VKFeedColoumns implements BaseColumns {

		public final static String[] COLOUMNS = {
				FriendsContract.VKFeedColoumns.ITEM_ID,
				FriendsContract.VKFeedColoumns.SOURCE_ID,
				FriendsContract.VKFeedColoumns.TYPE,
				FriendsContract.VKFeedColoumns.DATE,
				FriendsContract.VKFeedColoumns.UNCONVERTED_DATE,
				FriendsContract.VKFeedColoumns.TEXT,
				FriendsContract.VKFeedColoumns.PROFILE_NAME,
				FriendsContract.VKFeedColoumns.PROFILE_PHOTO,
				FriendsContract.VKFeedColoumns.ATTACHMENT_PHOTO,
				FriendsContract.VKFeedColoumns.LIKES,
				FriendsContract.VKFeedColoumns.ATTACHMENT_PHOTO_BIG};

		public static final String TABLE_NAME = "VK_FEED_TABLE";

		public static final String ITEM_ID = _ID;

		public static final String TYPE = "TYPE";

		public static final String TEXT = "TEXT";

		public static final String SOURCE_ID = "SOURCE_ID";

		public static final String DATE = "DATE";

		public static final String UNCONVERTED_DATE = "UNCONVERTED_DATE";

		public static final String POST_ID = "POST_ID";

		public static final String PROFILE_NAME = "PROFILE_NAME";

		public static final String PROFILE_PHOTO = "PROFILE_PHOTO";

		public static final String ATTACHMENT_PHOTO = "ATTACHMENT_PHOTO";
		
		public static final String ATTACHMENT_PHOTO_BIG = "ATTACHMENT_PHOTO_BIG";

		public static final String LIKES = "LIKES";

		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "FeedProvider/VK_FEED_TABLE");

		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/VK_FEED_TABLE";
	}

	public static final class UserInfoColumns implements BaseColumns {

		public final static String[] COLOUMNS = {
				FriendsContract.UserInfoColumns.ITEM_ID,
				FriendsContract.UserInfoColumns.DATE,
				FriendsContract.UserInfoColumns.UNCONVERTED_DATE,
				FriendsContract.UserInfoColumns.TEXT,
				FriendsContract.UserInfoColumns.PROFILE_NAME,
				FriendsContract.UserInfoColumns.PROFILE_PHOTO,
				FriendsContract.UserInfoColumns.ATTACHMENT_PHOTO,
				FriendsContract.UserInfoColumns.LIKES,
				FriendsContract.UserInfoColumns.USER_ID,
				FriendsContract.UserInfoColumns.ATTACHMENT_PHOTO_BIG};

		public static final String TABLE_NAME = "VK_USER_TABLE";

		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/VK_USER_TABLE";

		public static final Uri CONTENT_URI = Uri.parse("content://"
				+ AUTHORITY + "UserProfileInfoProvider/VK_USER_TABLE");

		private UserInfoColumns() {
		}

		public static final String ITEM_ID = _ID;

		public static final String DATE = "DATE";

		public static final String UNCONVERTED_DATE = "UNCONVERTED_DATE";

		public static final String TEXT = "TEXT";

		public static final String PROFILE_NAME = "PROFILE_NAME";

		public static final String PROFILE_PHOTO = "PROFILE_PHOTO";

		public static final String ATTACHMENT_PHOTO = "ATTACHMENT_PHOTO";

		public static final String LIKES = "LIKES";

		public static final String USER_ID = "USER_ID";
	
		public static final String ATTACHMENT_PHOTO_BIG = "ATTACHMENT_PHOTO_BIG";
	}
}
